Platform Explorer / Nuxeo Platform 11.4

Contribution org.nuxeo.ecm.directories--directories1

This contribution is part of XML component org.nuxeo.ecm.directories inside nuxeo-platform-default-config-11.4.42.jar /OSGI-INF/nxdirectories-contrib.xml

Extension Point

Extension point directories of component GenericDirectory.

Registration Order

5
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <directory extends="template-xvocabulary" name="country">
          <parentDirectory>continent</parentDirectory>
          <dataFile>directories/country.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="continent">
          <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
            <property name="targetDirectory">country</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
          <dataFile>directories/continent.csv</dataFile>
        </directory>
  • <directory extends="template-l10nxvocabulary" name="l10ncoverage">
          <parentDirectory>l10ncoverage</parentDirectory>
          <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
            <property name="targetDirectory">l10ncoverage</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
          <dataFile>directories/l10ncoverage.csv</dataFile>
        </directory>
  • <directory extends="template-xvocabulary" name="subtopic">
          <parentDirectory>topic</parentDirectory>
          <dataFile>directories/subtopic.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="topic">
          <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
            <property name="targetDirectory">subtopic</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
          <dataFile>directories/topic.csv</dataFile>
        </directory>
  • <directory extends="template-l10nxvocabulary" name="l10nsubjects">
          <parentDirectory>l10nsubjects</parentDirectory>
          <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
            <property name="targetDirectory">l10nsubjects</property>
            <property name="targetDirectoryField">parent</property>
          </deleteConstraint>
          <dataFile>directories/l10nsubjects.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="subject">
          <types>
            <type>system</type>
          </types>
          <dataFile>directories/subject.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="search_operators">
          <types>
            <type>system</type>
          </types>
          <dataFile>directories/search_operators.csv</dataFile>
        </directory>
  • <directory extends="template-documentsLists" name="documentsLists">
          <types>
            <type>system</type>
          </types>
          <permissions>
            <permission name="Write">
              <group>Everyone</group>
            </permission>
          </permissions>
        </directory>
  • <directory extends="template-vocabulary" name="language">
          <dataFile>directories/language.csv</dataFile>
        </directory>
  • <directory extends="template-vocabulary" name="nature">
          <dataFile>directories/nature.csv</dataFile>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.GenericDirectory">

    <directory extends="template-xvocabulary" name="country">
      <parentDirectory>continent</parentDirectory>
      <dataFile>directories/country.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="continent">
      <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
        <property name="targetDirectory">country</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
      <dataFile>directories/continent.csv</dataFile>
    </directory>

    <directory extends="template-l10nxvocabulary" name="l10ncoverage">
      <parentDirectory>l10ncoverage</parentDirectory>
      <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
        <property name="targetDirectory">l10ncoverage</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
      <dataFile>directories/l10ncoverage.csv</dataFile>
    </directory>

    <directory extends="template-xvocabulary" name="subtopic">
      <parentDirectory>topic</parentDirectory>
      <dataFile>directories/subtopic.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="topic">
      <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
        <property name="targetDirectory">subtopic</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
      <dataFile>directories/topic.csv</dataFile>
    </directory>

    <directory extends="template-l10nxvocabulary" name="l10nsubjects">
      <parentDirectory>l10nsubjects</parentDirectory>
      <deleteConstraint class="org.nuxeo.ecm.directory.HierarchicalDirectoryDeleteConstraint">
        <property name="targetDirectory">l10nsubjects</property>
        <property name="targetDirectoryField">parent</property>
      </deleteConstraint>
      <dataFile>directories/l10nsubjects.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="subject">
      <types>
        <type>system</type>
      </types>
      <dataFile>directories/subject.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="search_operators">
      <types>
        <type>system</type>
      </types>
      <dataFile>directories/search_operators.csv</dataFile>
    </directory>

    <directory extends="template-documentsLists" name="documentsLists">
      <types>
        <type>system</type>
      </types>
      <permissions>
        <permission name="Write">
          <group>Everyone</group>
        </permission>
      </permissions>
    </directory>

    <directory extends="template-vocabulary" name="language">
      <dataFile>directories/language.csv</dataFile>
    </directory>

    <directory extends="template-vocabulary" name="nature">
      <dataFile>directories/nature.csv</dataFile>
    </directory>

  </extension>